Release 10.1A: OpenEdge Reporting:
Query/Results for UNIX


Determining the name of the originating program

Use the following shared variable in your procedures to determine the name of the selection the user was running when they selected the User option:

DEFINE SHARED VARIABLE qbf-name AS CHARACTER NO-UNDO. 

The shared variable qbf-name contains the name of the report, label, or the export procedure the user was running when they chose the User module.

Note that Results saves the procedure name whenever the user saves and names a definition (report, label, or data export definition). For example, if a report is defined but not saved, the system does not assign qbf-names to it.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095